<%-- 
    Document   : db-backup
    Created on : Apr 26, 2012, 5:44:33 PM
    Author     : Brian
--%>

<%@page import="javax.swing.JOptionPane"%>
<%@page import="javax.swing.JFileChooser"%>
<%@page import="classes.backupdb"%>
<%@ page language="java"%>
<%@ page import="java.io.*"%>
<%@ page import="java.util.*"%>
<%@ page import="javax.servlet.*"%> 
        <%        
            try{
                backupdb.backupDB("mysql1.cs.stonybrook.edu","brchung", "brchung", "106747535");
                //response.sendRedirect("index.jsp");
                //FileWriter fw = new FileWriter(backupFile);
                           }catch (Exception ex) {
            ex.printStackTrace();
        }
        

        %>
        <h3>The backup request is successful!</h3>
       <br/><br/> 
       <center><form method="post">
<input type="button" value="Close Window"
onclick="window.close()"/>
</form></center>